[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
putch() Write a Character to the Console
#include <conio.h> Required for declarations only
int putch(c);
int c; Character to be output
The putch() function writes the character 'c' to the current text
window.
Returns: The character displayed in the text window.
Portability: IBM PC and compatables only
-------------------------------- Example ---------------------------------
The following statement writes a capital 'A' to the screen.
#include <conio.h>
int ch = 'A';
main()
{
putch(ch);
}
See Also:
putc()
putchar()
cprintf()
getch()
getche()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson